package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.ShopCardnum;
import com.ruoyi.business.vo.ShopCardnumVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单Mapper接口
 *
 * @author Tellsea
 * @date 2025-01-22
 */
public interface ShopCardnumMapper extends BaseMapper<ShopCardnum> {

    Page<ShopCardnumVo> queryList(Page<?> page, @Param("entity") ShopCardnumVo entity);

    List<ShopCardnumVo> queryList(@Param("entity") ShopCardnumVo entity);

    ShopCardnumVo queryById(@Param("id") Long id);

    int updateNum(@Param("cardId") Long cardId);

}
